home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
packages
/
graphics
/
grfguide.tex
/
node4_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
2KB
|
43 lines
<H1><A ID="SECTION00040000000000000000">
Colour</A>
</H1>
The colour support is built around the idea of a system of
<I>Colour Models</I>. The Colour models supported by a driver vary,
but typically include
<DL>
<DT><STRONG><#900#>rgb<#900#></STRONG></DT>
<DD>Red Green Blue: A comma separated list of three numbers
between~0 and~1, giving the components of the colour.
</DD>
<DT><STRONG><#901#>cmyk<#901#></STRONG></DT>
<DD>Cyan Magenta Yellow [K]Black: A comma separated list of
four numbers between~0 and~1, giving the components of the colour
according to the additive model used in most printers.
</DD>
<DT><STRONG><#902#>gray<#902#></STRONG></DT>
<DD>Grey scale: a single number between~0 and~1.
</DD>
<DT><STRONG><#903#>named<#903#></STRONG></DT>
<DD>Colours accessed by name, e.g. `JungleGreen'. Not all
drivers support this model. The names must either be `known' to the
driver or added using commands described in |color.dtx|. Some drivers
support an extended form of the named model in which an `intensity' of
the colour may also be specified, so `JungleGreen, 0.5' would
denote that colour at half strength.
</DD>
</DL>
Note that the <B>named</B> model is really just given as an example
of a colour model that takes names rather than a numeric specication.
Other options may be provided locally that provide different colour
models, eg <B>pantone</B> (An industry standard set of colours),
<B>x11</B> (Colour names from the UNIX window system), etc. The
standard distribution does not currently have such models, but the
<B>named</B> model could be used as an example of how to define a new
colour model. The names used in the <B>named</B> model are those
suggested by Jim Hafner in his <I>colordvi</I> and <I>foiltex</I>
packages, and implemented originally in the |color.pro| header file for
the <TT>dvips</TT> driver.
<P>